uListing\Lib\PricingPlan\Classes\StmUserPlan B

Total Complexity 91
Dependencies 13
Dependents 12
Total lines 673
Lines of code 455
Logical lines of code 197
Comment lines 109
Methods 38
Properties 9

Methods 38

Method Rating Maintainability Complexity Lines of code
create_action()
A
38 12 65
cancel()
A
50 10 25
before_save()
A
50 8 28
checkLimitForAdd()
A
55 8 18
getList()
S
54 6 20
api_cancel()
S
51 3 27
createNew()
S
57 3 15
setActiveStatus()
S
60 3 12
add_menu()
S
50 1 35
setMeta()
S
61 2 13
check_not_canceled_plan()
S
60 2 13
updateStatusPlanForExpired()
S
58 1 16
checkExpired()
S
73 2 5
removeFeatureListingForExpired()
S
59 1 15
removeLimit()
S
67 2 8
getStatus()
S
64 2 9
render_index_view()
S
70 2 5
payment_completed()
S
71 2 6
getTypeList()
S
67 2 7
get_searchable_fields()
S
63 1 13
updateStatusListingForExpired()
S
62 1 11
getUserPlanByAgreementId()
S
67 1 8
checkPlansExpired()
S
73 1 5
get_active_plans_count()
S
72 1 6
getUserPlanByStripeId()
S
67 1 8
get_primary_key()
S
81 1 3
deleteMeta()
S
71 1 6
getMeta()
S
71 1 6
get_table()
S
76 1 4
getUser()
S
80 1 3
user_plan_email_template()
S
67 1 7
render_index_edit()
S
78 1 3
render_index_add()
S
78 1 3
render_index()
S
78 1 3
stm_user_plans_screen_option()
S
64 1 10
get_user_plan_meta()
S
70 1 6
init()
S
71 1 5
getPricingPlan()
S
80 1 3